package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author timiv
 */
@Mapper
public interface PaymentDao {

    /**
     * @param payment payment
     * @return
     */
    int create(Payment payment);

    /**
     * @param id id
     * @return
     */
    Payment getPaymentById(Long id);
}
